package com.sand.sc.upms.user;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * com.sand.sc.eureka.server
 *
 * @author yaohaobing
 * @version 1.0.0
 * @description app认证服务
 * @date 2019/11/27 20:10
 */
@Configuration
public class RestConfig {


    @Bean
    @LoadBalanced
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }

}
